@extends('home.base.headers')

@section('content')

<div class="hr-10"></div>
<div class="g">
	<!--面包屑 -->
<div class="breadcrumb-area fcn"><a href="http://www.vmall.com/index.html" title="首页">首页</a>&nbsp;&gt;&nbsp;<span>商城公告</span></div>
</div>
<div class="hr-15"></div>
<div class="g">
    <div class="fr u-4-5">
    	<!--栏目 -->

        <div class="part-area clearfix">
            <div class="fl">
                <h3 class="ce-title"><span>商城公告</span></h3>
            </div>
            <div class="fr">
            	<div class="news-count-area" id="news-count-page"><span><em></em></span></div>
            </div>
        </div>
        <div class="hr-2"></div>
        <!--新闻-列表 -->
        <div class="news-list" id="news-list-ul">
            <ul class="clearfix">

            @foreach ($list as $v)
                <li>
                	<span class="fl"><a href="/content/{{ $v->id }}" title="{{ $v->title }}">{{ $v->title }}</a></span>
                    <span class="fr">{{ $v->updateTime }}</span>
                </li>
            @endforeach              
            </ul>
        </div>
        
  		<center>{{ $list->links() }}</center>

        <div class="hr-25"></div>
    </div>
	<div class="fl u-1-5"><!--左边菜单 -->
<div class="news-menu-area">
	<div class="h">
	<s></s>
	<b></b>
    </div>
    <div class="b">
	<ul class="clearfix">
	    <li id="menu-notice" class="current"><a href="#" title="商城公告"><span>商城公告</span></a></li>
	</ul>
    </div>
</div>
<div class="hr-15"></div>
<div class="ad ad179"></div>
<script>
(function(){
	var path = location.pathname.split("-");
		if(path.length > 0)
		{
			$("#menu-"+path[0].substring(1)).addClass("current").siblings().removeClass("current");
		}
})();
</script></div>
</div>
<div class="hr-60"></div>

<script>
ec.load("ec.pager");
ec.ready(function(){
	$("#list-pager").pager({
		pageNumber : 1,
		pageCount : 80,
		text : {
			first : "|&lt;",
			pre : "&lt",
			next : "&gt;",
			last : "&gt;|"
		},
		item : [ "first", "pre", "qpage", "next", "last", "quickPager" ],// 显示样式
		callBack : function(page){
			location.href="/notice-list/"+page.pageNumber;
		}
	});
});
</script><script id="jsapi_loader1" loadtype="insert" type="text/javascript" src="{{ asset('home/js/pager-min.js') }}" charset="gbk"></script><script>(function(){var time = 0,el = document.getElementById('jsapi_loader1');if(!el || (el.readyState && 'complete' != el.readyState)){ if(time<10){ setTimeout(arguments.callee,30); time++; }else{ logger.error('load the script of id jsapi_loader1 fail!');} return; }ol._setLoadStatus("ec.pager/pager-min.js') }}","complete");})();</script>
@endsection